package com.ywk.base.toolClass.jol;

import org.openjdk.jol.info.ClassLayout;

/**
 * @Author zbh
 * @Date 2023/2/2
 */
public class jolTest {
    public static void main(String[] args) {
        Object o = new Object();
        System.out.println(ClassLayout.parseInstance(o).toPrintable());

        synchronized (o){
            System.out.println(ClassLayout.parseInstance(o).toPrintable());
        }
    }
}
